package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 * 续班季度
 * </p>
 *
 * @author min
 * @since 2022-11-09
 */
@TableName("renew_quarter")
public class RenewQuarter implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private String name;

    private Integer type;

    private LocalDate startDate;

    private LocalDate endDate;

    private Integer yearPart;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public LocalDate getStartDate() {
        return startDate;
    }

    public void setStartDate(LocalDate startDate) {
        this.startDate = startDate;
    }

    public LocalDate getEndDate() {
        return endDate;
    }

    public void setEndDate(LocalDate endDate) {
        this.endDate = endDate;
    }

    public Integer getYearPart() {
        return yearPart;
    }

    public void setYearPart(Integer yearPart) {
        this.yearPart = yearPart;
    }

    @Override
    public String toString() {
        return "RenewQuarter{" +
        "id = " + id +
        ", name = " + name +
        ", type = " + type +
        ", startDate = " + startDate +
        ", endDate = " + endDate +
        ", yearPart = " + yearPart +
        "}";
    }
}
